infinity or a value too large for dtype(float64) - python